package com.eshop.tools.service.dto;

import java.sql.Timestamp;
import java.io.Serializable;

public class LocalStorageDto implements Serializable
{
    private Long id;
    private String realName;
    private String name;
    private String suffix;
    private String path;
    private String type;
    private String size;
    private String operate;
    private Timestamp createTime;
    
    public Long getId() {
        return this.id;
    }
    
    public String getRealName() {
        return this.realName;
    }
    
    public String getName() {
        return this.name;
    }
    
    public String getSuffix() {
        return this.suffix;
    }
    
    public String getPath() {
        return this.path;
    }
    
    public String getType() {
        return this.type;
    }
    
    public String getSize() {
        return this.size;
    }
    
    public String getOperate() {
        return this.operate;
    }
    
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setRealName(final String realName) {
        this.realName = realName;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setSuffix(final String suffix) {
        this.suffix = suffix;
    }
    
    public void setPath(final String path) {
        this.path = path;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    public void setSize(final String size) {
        this.size = size;
    }
    
    public void setOperate(final String operate) {
        this.operate = operate;
    }
    
    public void setCreateTime(final Timestamp createTime) {
        this.createTime = createTime;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof LocalStorageDto)) {
            return false;
        }
        final LocalStorageDto other = (LocalStorageDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$realName = this.getRealName();
        final Object other$realName = other.getRealName();
        Label_0102: {
            if (this$realName == null) {
                if (other$realName == null) {
                    break Label_0102;
                }
            }
            else if (this$realName.equals(other$realName)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        Label_0139: {
            if (this$name == null) {
                if (other$name == null) {
                    break Label_0139;
                }
            }
            else if (this$name.equals(other$name)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$suffix = this.getSuffix();
        final Object other$suffix = other.getSuffix();
        Label_0176: {
            if (this$suffix == null) {
                if (other$suffix == null) {
                    break Label_0176;
                }
            }
            else if (this$suffix.equals(other$suffix)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$path = this.getPath();
        final Object other$path = other.getPath();
        Label_0213: {
            if (this$path == null) {
                if (other$path == null) {
                    break Label_0213;
                }
            }
            else if (this$path.equals(other$path)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        Label_0250: {
            if (this$type == null) {
                if (other$type == null) {
                    break Label_0250;
                }
            }
            else if (this$type.equals(other$type)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$size = this.getSize();
        final Object other$size = other.getSize();
        Label_0287: {
            if (this$size == null) {
                if (other$size == null) {
                    break Label_0287;
                }
            }
            else if (this$size.equals(other$size)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$operate = this.getOperate();
        final Object other$operate = other.getOperate();
        Label_0324: {
            if (this$operate == null) {
                if (other$operate == null) {
                    break Label_0324;
                }
            }
            else if (this$operate.equals(other$operate)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime == null) {
                return true;
            }
        }
        else if (this$createTime.equals(other$createTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof LocalStorageDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $realName = this.getRealName();
        result = result * 59 + (($realName == null) ? 43 : $realName.hashCode());
        final Object $name = this.getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        final Object $suffix = this.getSuffix();
        result = result * 59 + (($suffix == null) ? 43 : $suffix.hashCode());
        final Object $path = this.getPath();
        result = result * 59 + (($path == null) ? 43 : $path.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        final Object $size = this.getSize();
        result = result * 59 + (($size == null) ? 43 : $size.hashCode());
        final Object $operate = this.getOperate();
        result = result * 59 + (($operate == null) ? 43 : $operate.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "LocalStorageDto(id=" + this.getId() + ", realName=" + this.getRealName() + ", name=" + this.getName() + ", suffix=" + this.getSuffix() + ", path=" + this.getPath() + ", type=" + this.getType() + ", size=" + this.getSize() + ", operate=" + this.getOperate() + ", createTime=" + this.getCreateTime() + ")";
    }
}
